#include <windows.h>

#define INPUT	0x1
#define OUTPUT	0x2

class ConsoleSettings
{
	private:

		void * handle;
		unsigned char type;

	public:

		unsigned int codepage;
		unsigned long mode;
		
		CONSOLE_CURSOR_INFO cursor;
		CONSOLE_SCREEN_BUFFER_INFOEX csbi;

		ConsoleSettings(unsigned char type, void *);

		bool Get();
		bool Set();

};